package com.chianghao.rock.admin.system.user.dto;

import javax.validation.constraints.NotNull;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel("添加用户信息")
public class UserAddDto {

	@NotNull(message="error:name,not.null")
	@ApiModelProperty("名称")
	private String name;
	
	@NotNull(message="error:account,not.null")
	@ApiModelProperty("账号")
	private String account;
	
	@NotNull(message="error:password,not.null")
	@ApiModelProperty("密码")
	private String password;
	
	@ApiModelProperty("组织结构")
	private Long   organizationId;
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getAccount() {
		return account;
	}
	public void setAccount(String account) {
		this.account = account;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public Long getOrganizationId() {
		return organizationId;
	}
	public void setOrganizationId(Long organizationId) {
		this.organizationId = organizationId;
	}

	
	
}
